package cc.liyinghao.mapper;

import cc.liyinghao.common.dto.IdUsernameDTO;
import cc.liyinghao.common.pojo.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;


@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {

    /**
     * 根据多个用户id列表查询用户名列表
     */
    List<IdUsernameDTO> selectIdUsernameListByIds(List<Integer> ids);

}
